home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20010921-20020314
/
000364_harfst@cms-stl.com_Mon Feb 11 13:18:05 EST 2002.msg
< prev
next >
Wrap
Text File
|
2002-03-13
|
3KB
|
76 lines
Article: 13208 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!washdc3-snh1.gtei.net!news.gtei.net!feeder.qis.net!sn-xit-02!supernews.com!postnews1.google.com!not-for-mail
From: harfst@cms-stl.com (David L. Harfst)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: if syntax change
Date: 11 Feb 2002 09:43:14 -0800
Organization: http://groups.google.com/
Lines: 57
Message-ID: <26dc2188.0202110943.62504aec@posting.google.com>
References: <26dc2188.0202081336.79eb8459@posting.google.com> <a41het$1na$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: 66.136.168.97
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1013449395 7616 127.0.0.1 (11 Feb 2002 17:43:15 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 11 Feb 2002 17:43:15 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13208
Nice thought. Unfortunetly that's not the case:
me@lionel:~/modem>/bin/sh -x modem
+ MODEM=FAST
+ export MODEM
+ MDEVICE=/dev/ttyS0
+ export MDEVICE
+ SPEED=14400
+ export SPEED
+ /usr/cms/harfst/modem/kermit/wermit -y
/usr/cms/harfst/modem/modem.ini
?Invalid: xif EQUAL "\$(SPEED)" "14400" {, set modem command
init-string 'AT&F%S0*M10*W4M0X6V1\{13}'
Command stack:
3. Macro : FastBlazer
2. Macro : InitTransfer
1. File : /home/harfst/modem/modem.ini (line 615)
0. Prompt: (top level)
?Invalid: }
Command stack:
3. Macro : FastBlazer
2. Macro : InitTransfer
1. File : /home/harfst/modem/modem.ini (line 615)
0. Prompt: (top level)
C-Kermit 8.0.200, 12 Dec 2001, for Linux
Copyright (C) 1985, 2001,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/home/harfst/modem/) C-Kermit>
fdc@columbia.edu (Frank da Cruz) wrote in message news:<a41het$1na$1@watsol.cc.columbia.edu>...
> In article <26dc2188.0202081336.79eb8459@posting.google.com>,
> David L. Harfst <harfst@cms-stl.com> wrote:
> : I have the following block of code which runs fine on
> : C-Kermit 6.0.192 on HP-UX 10.20:
> :
> : xif EQUAL \$(SPEED) 14400 {
> : # +MS=10 - Limits the connection speed to 14.4 KBaud
> : set modem command Init-string AT&F0+MS=10M0X4V1S95=41\{13}
> : }
> :
> : I'm trying to port this script to Linux, on which I'm
> : running C-Kermit 8.0.200 and RedHat 7.2.
> :
> : ?Invalid: xif EQUAL \$(SPEED) 14400 {, set modem command
> : Init-string AT&F0+MS=10M0X4V1S95=41\{13}
> :
> I think the problem is that the environment variable SPEED is not
> defined. Thus a field is missing. You could do it this way:
>
> xif EQUAL "\$(SPEED)" "14400" {
> # +MS=10 - Limits the connection speed to 14.4 KBaud
> set modem command Init-string AT&F0+MS=10M0X4V1S95=41\{13}
> }
>
> - Frank